package com.secxiot.provider.task.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * 任务数据传输
 */
@ApiModel
@NoArgsConstructor
@ToString
@Data
public class TaskTransferListDto extends TaskBaseDto implements Serializable {
    private static final long serialVersionUID = 3909436578743466822L;

    @ApiModelProperty(value = "任务提醒时间", required = true)
    private TaskTimeDto taskTimeDto;

    @ApiModelProperty(value = "交接内容集合", required = true)
    private List<TaskTransferDto> transfers = Collections.emptyList();
}
